from decimal import Decimal

total = Decimal('0.00')
while True:
    s = input('Enter amount in dollars and cents (#.##): ')
    if not s:
        break
    d = Decimal(s)
    d1 = round(d,2)
    total += d1

print('The sum of all these amounts is:',total)



